<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>M3系统管理</title>
		<link rel="stylesheet" type="text/css" href="<?=n_css('reset')?>" />
		<link rel="stylesheet" type="text/css" href="<?=n_css('install')?>" />
		<script type="text/javascript" src="<?=n_js('jquery')?>"></script>
	
		<style>
		body{margin:0 auto;width:500px;font-family: "微软雅黑";background-color:#fff;}

		</style>
	</head>
	<body class="login-bg">
	<div id="content">
		<div class="box">
					<div class="error" id="tips">&nbsp;</div>

			<div class="user-login" id="user-login">
				<form method="post" action="" onsubmit="return false;">
					<div class="tit"></div>
					<div class="Frow">
						<span>用户名:</span>
						<input id="name" name="name" type="text" tips="管理员" value="" autocomplete="off" disableautocomplete />
					</div>
	
					<div class="Frow">
						<span>密　码:</span>
						<input id="password" name="password" type="password" />
					</div>
					<div class="Frow">
						<span>&nbsp;&nbsp;</span>
						<input type="button" value="登录" onclick="dologin()" onfocus="this.blur()" alt="登 录" />
					</div>

								
				</form>
			</div>
			<div class="footer">
				<p>SOHU.com CopyRight &copy; 2013</p>
			</div>
		</div>
	</div>
	<script>
		function dologin(){
			$.getJSON('/install/dologin.html',{'name':$("#name").val(),'pwd':$("#password").val()},function(cb){
				$("#tips").html(cb.msg);
				if(cb.state){
					setTimeout(function(){
						location.href="/install.html";
					},1000);
				}
			});
		}
	</script>

	</body>
</html>